keyfile="cloudkey"
home=~
ssh_loc=$home/.ssh
rm -f $ssh_loc/$keyfile $ssh_loc/$keyfile.pub
ssh-keygen -q -f $ssh_loc/$keyfile -N ""
cp -f $ssh_loc/authorized_keys $ssh_loc/authorized_keys_backup
cp -f $ssh_loc/$keyfile.pub ./$keyfile$1.pub
cp -f $ssh_loc/config $ssh_loc/config_backup 2> /dev/null